package com.synesthesiaconsulting.gwt.resources.client;

import com.gwtext.client.widgets.form.Field;
import com.google.gwt.core.client.JavaScriptObject;
import com.google.gwt.user.client.ui.RichTextArea;

/**
 * Created by IntelliJ IDEA.
 * User: ageer
 * Date: Jul 26, 2008
 * Time: 4:59:14 AM
 * To change this template use File | Settings | File Templates.
 */
public class RichTextField extends Field {
    private RichTextArea rta = new RichTextArea();

    protected JavaScriptObject create(JavaScriptObject javaScriptObject) {

        return rta.getElement();   
    }

    public String getXType() {
        return "textarea";
    }
}
